import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'
import article from './modules/article'
import cart from './modules/cart'
Vue.use(Vuex)

export default new Vuex.Store({
	state: {
		app: '我是全局公共数据'
	},
	mutations: {},
	actions: {},
	modules: {
		user,
		article,
		cart
	},
	getters: {}
	// strict:true,
	// namespaced:true
})
